<#include "base.ftl">
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="${base}css/bootstrap.min.css">
  <link rel="stylesheet" href="${base}css/bootstrap-datetimepicker.min.css">
  <link href="http://hovertree.com/texiao/bootstrap/4/css/city-picker.css" rel="stylesheet" />
  <link rel="stylesheet" href="${base}css/mainPc.css">
  <title>广州久龙精品酒店</title>
</head>
<body>
  <header>
    <nav class="navlist">
      <div class="nav_left">
        <ul>
          <li><a class="logo" href="javascript:;"><img src="img/logo_orange.png" height="40" alt=""></a></li>
          <li><a href="${base}indexPc.html">首页</a></li>
          <li><a href="${base}kfydPc.html">酒店预订</a></li>
          <li class="nav_list">
            <a href="javascript:;">全景图</a>
            <ul>
              <li><a href="http://720.720gz.com/al/jljpjd/kaiyang.html?star" target="_Blank">开阳</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/linjiang.html?startscene=10&startactions=lookat" target="_Blank">临江</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/longli.html" target="_Blank">龙里</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/sansui.html?startscene=19&startactions=lookat" target="_Blank">三穗</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/shiqian.html?startscene=10&startactions=lookat" target="_Blank">石阡</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/weining.html?startscene=25&startactions=lookat" target="_Blank">威宁</a></li>
              <li><a href="http://720.720gz.com/al/jljpjd/longli.html" target="_Blank">龙里</a></li>
            </ul>
          </li>
          <li><a href="${base}yhhdPc.html">优惠活动</a></li>
          <li><a href="${base}jtspPc.html">集团视频</a></li>
          <li><a href="${base}jdxgPc.html">酒店相关</a></li>
        </ul>
      </div>
 
    </nav>
    <div class="shadow"></div>
  </header>

  <div class="container">
    
    <div class="row">
      <div class="col-md-8 col-md-offset-2"><h2>账户注册</h2></div>
      <form class="col-md-8 col-md-offset-2" action="zcPc" method="post" name="myForm">
        <div class="form-group">
          <label for="exampleInputEmail1">用户名</label>
          <input type="text" class="form-control" id="yhm"  placeholder="请输入您的用户名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串" name="account">
        </div>
        
 
        
        
        <div class="form-group">
          <label for="exampleInputPassword1">密码</label>
          <input type="password" class="form-control" id="pwd"   placeholder="请输入您的密码" name="password">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">密码确认</label>
          <input type="password" class="form-control" id="pwd2" placeholder="请确认您的密码"  name="newpassword">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">身份证</label>
          <input type="text" class="form-control" id="idcard"   placeholder="请输入您的身份证" name="cardNo">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">姓名</label>
          <input type="text" class="form-control" id="name1"   placeholder="请输入您的姓名" name="nickname">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">手机号</label>
          <input type="text" class="form-control" id="phone" placeholder="请输入您的手机" name="tel">
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">邮箱</label>
          <input type="text" class="form-control" id="email" placeholder="Email" name="email">
        </div>
        <div class="form-group">
          <a href="#" id="zc" class="btn btn-default">注册</a>
        </div>
      </form>
    </div>
    <footer>
      <ul>
        <li>
          <div class="foottab">
            <div class="foot_tab_content">
              <ul class="list-group">
                <li class="list-group-item ftc_li">联系电话</li>
                <li class="list-group-item ftc_li">139-xxxxxxx</li>
                <li class="list-group-item ftc_li">139-xxxxxxx</li>
                <li class="list-group-item ftc_li">139-xxxxxxx</li>
                <li class="list-group-item ftc_li">139-xxxxxxx</li>
              </ul>
            </div>
          </div>
        </li>
        <li>
          <div class="foottab">
            <div class="foot_tab_content">
              <ul class="list-group">
                <li class="list-group-item ftc_li">微信二维码</li>
                <li class="list-group-item ftc_li">
                  <img src="${base}img/wx-3.png" alt="">
                </li>
             </ul>
            </div>
          </div>
        </li>
        <li>
          <div class="foottab">
            <div class="foot_tab_content">
              <ul class="list-group">
                <li class="list-group-item ftc_li">酒店加盟</li>
                <li class="list-group-item ftc_li">Dapibus ac facilisis in</li>
                <li class="list-group-item ftc_li">Morbi leo risus</li>
                <li class="list-group-item ftc_li">Porta ac consectetur ac</li>
                <li class="list-group-item ftc_li">Vestibulum at eros</li>
              </ul>
            </div>
          </div>
        </li>
      </ul>
    </footer>
  </div>
      <div id="dibubeijing">
  <div id="dibu">
    <div id="dibu_one">
        <ul>
            <li>广州久龙精品酒店</li>
              <li><span class="gl">一个席卷西南地区的酒店</span></li>
              <li><span class="gl">将超过50个县区的覆盖</span></li>
              <li><span class="gl">三星半惠而实在</span></li>
              <li><span class="gl">干净、高效、整洁</span></li>
              <li><span class="gl">在这里你都能享受到</span></li>
              <li><span class="gl"></span></li>
          </ul>
          
          <ul>
            <li>关于我们</li>
              <li><a href="javascript:;">关于久龙</a></li>
              <li><a href="javascript:;">网络信息侵权通知指引</a></li>
              <li><a href="javascript:;">隐私政策</a></li>
              <li><a href="javascript:;">服务协议</a></li>
              <li><a href="javascript:;">联系我们</a></li>
              <li><a href="javascript:;"><span class="gl">加入我们</span></a></li>
          </ul>
          
          <ul id="t3">
            <li>加盟合作</li>
              <li><a href="javascript:;">酒店加盟</a></li>
              <li><a href="javascript:;">开放平台</a></li>
              <li><a href="javascript:;">代理合作</a></li>
              <li><a href="javascript:;">广告服务</a></li>
              <li><a href="javascript:;">商家中心</a></li>
          </ul>
          
          <div class="erwei">
            <img src="img/wx-3.png" width="90" height="90" />
              久龙官方微信
          </div>
          <div class="erwei">
            <img src="img/wx-3.png" width="90" height="90" />
              久龙商务酒店
          </div>
      </div>

     
      <div id="banquan">
        <p>法律声明：本网站内容来源于久龙精品酒店。系贵州百姓喜爱的酒店品牌连锁，欢迎您的入住。Copyright   ©2016 - Now  www.jljpjd.com，All rights reserved    广州久龙精品酒店 　版权所有</p>
      </div>
  </div> 
</div>
  

  <script src="${base}js/md5.js"></script>
  <script src="${base}js/jquery.min.js"></script>



  <script src="${base}js/mainPc.js"></script>
  
<script type="text/javascript">
function gotoRegister(){
	var passwordInit= document.getElementById("password").value;
	var newpassword=document.getElementById("newpassword").value;
	if(passwordInit!=newpassword){
		alert('两次密码不一致，请重新输入！');
		return false;
		}else{
		var password=hex_md5(passwordInit);
		document.getElementById("newpassword").value=password;
	}
}
function gotoRegister112(){
	$.ajax({
		type:'post',
		url:'indexPc1',
		data:{account:1000},
		dataType:'json',
		success:function(data){
			try{
				document.getElementById("exampleInputEmail12").value=data.validateCode;
				document.getElementById("myModal").style.display="none";
			
				window.close(); 
			alert("成功了");
			
			if(confirm("确认删除吗")){
 			 
  			}
 		 		else{
   			alert("no")
   			return;
  		}
			$("#myModal").modal("hide");
			console.log(123);
			}catch(e){
				console.log(e);
			}
		},
		error:function(data){
alert("出粗了");
			console.log(1234);
		 callpay('indexPc');
		}
	});
	//setInterval('test()',1000);
}
 $(function() {
      $('#zc').click(function() {

 

        if(!$('#yhm').val().match('^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){4,19}$')){
          alert('用户名输入不正确！');
          return false;
        }
        if($('#pwd').val()==""){ 
          alert('密码不能是空值！');
          return false;
        }   
        if($('#pwd').val()!=$('#pwd2').val()){ 
          alert('两次输入的密码不一致');
          return false;
        }
           
		if(!($('#idcard').val().length==18||$('#idcard').val().length==15)){
          alert('身份证输入不正确！');
          return false;
        }
         if($('#name1').val()==""){ 
          alert('姓名不能为空！');
          return false;
        } 
        if(!$('#phone').val().match('^0?(13[0-9]|15[012356789]|17[013678]|18[0-9]|14[57])[0-9]{8}$')){
          alert('手机号输入不正确！');
          return false;
        }  
         if(!$('#email').val().match('^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+')){
          alert('邮箱输入不正确！');
          return false;
        }
		var newpassword=document.getElementById("pwd2").value;
       	var password=hex_md5(newpassword);
		document.getElementById("pwd2").value=password;
        document.myForm.submit();   
      });
    });

</script>

</body>
</html>